<?php
/* @var $this CustomerController */
/* @var $model Customer */

$this->layout = "column";

$customer_name = $model->first_name . " " . $model->last_name;

$this->breadcrumbs=array(
    'Kunden'=>array('admin'),
    $customer_name,
);

$this->widget('zii.widgets.jui.CJuiTabs',array(
    'tabs'=>array(
        'Privat'=>$this->renderPartial('_form_private', array('model'=>$model), true),
        'Geschäftlich'=>$this->renderPartial('_form_business', array('model'=>$model), true),
        'Info'=>$this->renderPartial('_form_info', array('model'=>$model), true),
        //'Adressen'=>$this->renderPartial('_form_addresses', array('model'=>$model), true),
        //'Adressen'=>$this->renderPartial('_description_form', array('model'=>$model), true),
        /*         'StaticTab 2'=>array('content'=>'Content for tab 2', 'id'=>'tab2'), */
        // panel 3 contains the content rendered by a partial view
        //'AjaxTab'=>array('ajax'=>$ajaxUrl),
    ),
    // additional javascript options for the tabs plugin
    'options'=>array(
        'collapsible'=>true,
    ),
));
?>
